package com.robotserver.orders.param;

/**
 * @Auther: lucher
 * @Date: 2022/11/14 09:44
 * @Description:
 */
public class PageInfo {
    private int pageIndex;
    private int pageSize;

    public int getPageIndex() {
        if (pageIndex==0){
            pageIndex = 1;
        }
        return pageIndex;
    }

    public void setPageIndex(int pageIndex) {
        this.pageIndex = pageIndex;
    }

    public int getPageSize() {
        if (pageSize==0){
            pageSize=50;
        }
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }


}
